/*
 * @Description:
 * @Date: 2025-08-04 16:27:08
 * @LastEditTime: 2025-08-06 14:25:18
 */
import request from '@/utils/request'

class SubscribePackagesApi {
  query(data) {
    return request({
      url: '/userexaminations/list',
      method: 'get',
      data
    })
  }

  queryByCond(data, pageSize, pageNum) {
    return request({
      url: `/userexaminations/queryByCond?pageSize=${pageSize}&pageNum=${pageNum}`,
      method: 'post',
      data
    })
  }
  add(data) {
    return request({
      url: '/userexaminations/add',
      method: 'post',
      data
    })
  }
  importExcelData(data) {
    return request({
      url: '/userexaminations/importExcelData',
      method: 'post',
      data
    })
  }
  update(data) {
    return request({
      url: '/userexaminations/update',
      method: 'post',
      data
    })
  }
  delete(data) {
    return request({
      url: '/userexaminations/delete',
      method: 'post',
      data
    })
  }

  userExaminationExport(data) {
    return request({
      responseType: 'blob',
      url: '/export/userExaminationExport',
      method: 'get'
    })
  }
}


export default new SubscribePackagesApi()
